package lhdx8;

public class Parrot extends Pet {

    public Parrot(String name, String variety, int weight,int e) {
        super(name, variety, weight,e);
    }
    public void print (){
        super.print();
    }
    public void fei(){
        System.out.println(super.getName()+"会飞！");
    }
}
